package com.itheima.mapper;

import com.itheima.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StuMapper {

    @Select("select * from mc_user where username=#{username} and password=#{password}")
    Student login(@Param("username")String username,@Param("password")String password);
}
